#ifndef CHARTRANSLATION_H
#define CHARTRANSLATION_H
#include <windows.h>

int charWtoS(WCHAR  ws[],int wlen,char s[],int slen)
{
	return WideCharToMultiByte(CP_ACP,
										0,
										ws,
										wlen,
										s,
										slen,
										NULL,
										NULL);
}
int charStoW(char s[],int slen,WCHAR  ws[],int wlen)
{
	return MultiByteToWideChar(CP_ACP,
										0,
										s,
										slen,
										ws,
										wlen);
}
#endif